﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace H05
{
    class Program
    {
        static void Main(string[] args)
        {
            StringBuilder sb = new StringBuilder("Hello World!");
            Console.WriteLine(sb.ToString());
            Console.WriteLine("删除字符串中的所有空格后:");
            sb.Replace(" ", "");
            Console.WriteLine(sb.ToString());
            Console.ReadKey();

        }
    }
}
